home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer Plus 2007
/
Programmer-Plus-2007.iso
/
Programming
/
Borland Plateform
/
Turbo Prolog 2
/
EXAMPL26.PRO
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Prolog Source
|
1979-12-31
|
528 b
|
16 lines
/* Program 26 */
predicates
run
clauses
run :-
makewindow(1,7,7,"A blue window",2,5,10,50),
write("The characters are red"),
makewindow(2,7,7,"A light cyan window",14,25,10,40),
write("This window is light cyan and the "),
write("letters are black and blink."),
write(" Please type an integer to exit."),nl,
readint(_),
removewindow,
write(" Please type an integer to exit."),nl,
readint(_),
removewindow.